package cn.slipi.common.exception;

import lombok.Data;

/**
 * 系统异常
 *
 * @author lee
 */
@Data
public class InternalException extends RuntimeException {

    private Integer code;
    private String msg;

    public InternalException() {

    }

    public InternalException(int code, String msg) {
        super();
        this.code = code;
        this.msg = msg;
    }
}
